package togetherOne.service;

import java.sql.SQLException;
import java.util.ArrayList;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import togetherOne.dao.CultureDao;

public class CultureServiceImpl implements CultureService{
	private Log log = LogFactory.getLog(getClass());
	private CultureDao dao;
	

	public CultureServiceImpl() {
	}

	public void setDao(CultureDao dao) {
		this.dao = dao;
	}


	public ArrayList<String> getCulName(String culCate) throws SQLException{
		return (ArrayList) dao.getCulName(culCate);
	}
	

}
